package com.example.crt_dispatching_center.entity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Getter;

import java.time.LocalDate;
@Getter
@Entity
public class ElectricityCost {
    @Id
    private int id;
    private float cost;
    @Column(columnDefinition = "DATE")
    private LocalDate date;

    public void setId(int id) {
        this.id = id;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }
}
